{% extends "./inc/base.html" %}
{% block content %}
                <section class="vbox">
                    <header class="header bg-light dk">
                        <p>{{controller.meta_title}}</p>
                    </header>
                    <section class="scrollable wrapper">

                        <section class="panel panel-default">
                            <div class="table-responsive" style="position: relative;overflow: auto;width: 100%;">
                                <table class="table table-hover b-t b-light" style="table-layout: fixed;">
                                    <thead>
                                    <tr>
                                        <th style="width:60px;">序号</th>
                                        <th style="width:120px;">订单编号</th>
                                        <th style="width:100px;">问题方姓名</th>
                                        <th style="width:300px;">问题方公司</th>
                                        <th style="width:150px;">问题方电话</th>
                                        <th style="width:150px;">商品类别</th>
                                        <th style="width:150px;">所在地区</th>
                                        <th style="width:100px;">信息类型</th>
                                        <th style="width:300px;">反馈方公司</th>
                                        <th style="width:150px;">反馈方姓名</th>
                                        <th style="width:150px;">反馈方电话</th>
                                        <th style="width:150px;">问题订单认定时间</th>
                                        <th style="width:150px;">问题订单认定方式</th>
                                        <th style="width:100px;" class="text-center">详情</th>
                                        <th style="width:100px;" class="text-center">备注</th>
                                    </tr>
                                    </thead>
                                    <tbody>
                                    {% for item in list %}
                                    <tr >
                                        <td class="text-center">{{loop.index}}</td>
                                        {%if item.dat==1%}
                                        <td><a href="/admin/order/see/?id={{item.id}}" class="text-info" data-toggle="ajaxModal">{{item.order_no}}</a></td>
                                        {%else%}
                                        <td><a href="/admin/gongxufabu/see/?id={{item.id}}" class="text-info" data-toggle="ajaxModal">{{item.order_no}}</a></td>
                                        {%endif%}
                                        <td>{{item.real_name}}</td>
                                        <td>{{item.gsmc}}</td>
                                        <td>{{item.pmobile}}</td>
                                        <td>{{item.shangpingleibie}}</td>
                                        <td>{{item.diqu}}</td>
                                        <td>{{item.yewuleixing|get_gongxutype}}</td>
                                        <td>{{item.zzjg|get_zzjg}}</td>
                                        <td>{{item.username}}</td>
                                        <td>{{item.mobile}}</td>
                                        <td>{% if item.decision_problem_time %}{{item.decision_problem_time|moment('YYYY-MM-DD HH:mm:ss')}}{%endif%}</td>
                                        <td>{{item.decision_problem_node|get_remark_type}}</td>
                                        <td class="text-center">
                                            {%if item.dat==1%}
                                            <a href="/admin/order/see?id={{item.id}}" class="text-info" data-toggle="ajaxModal">查看</a>
                                            {%else%}
                                            <a href="/admin/gongxufabu/see/?id={{item.id}}" class="text-info" data-toggle="ajaxModal">查看</a>
                                            {%endif%}
                                        </td>
                                        <td class="text-center">
                                            {%if item.dat==1%}
                                            <a href="/admin/order/viewremarks?id={{item.id}}&model_name=order" class="text-info" data-toggle="ajaxModal">查看</a>
                                            {%else%}
                                            <a href="/admin/order/viewremarks?id={{item.id}}&model_name=gongxufabu" class="text-info" data-toggle="ajaxModal">查看</a>
                                            {%endif%}
                                        </td>
                                    </tr>
                                    {% else %}
                                    <tr><td colspan="15"><div class="alert alert-warning alert-block">
                                        <button data-dismiss="alert" class="close" type="button">×</button>
                                        <p>暂无数据</p>
                                    </div></td></tr>
                                    {% endfor %}
                                    </tbody>
                                </table>
                            </div>
                        </section>
                    </section>
                </section>

{% endblock %}
{% block script%}
<script src="/static/admin/js/parsley/parsley.min.js"></script>
<script src="/static/admin/js/parsley/parsley.extend.js"></script>
{% endblock%}
